
<div class="full-screen">
    <div class="page-group">
        <div class="page page-current nocoupon_contentBOX">
            <div class="content">

                <div class="coupon_page_top">
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='index'}>"><{img class="coupon_top_return" src="images/icon04.png" app="wap"}></a>
                    <div class="coupon_top_text">我的订单</div>
                </div>
                <div class="buttons-tab buttons_tab_bottom">
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='orders'}>" class=" button button_width all">全部订单</a>
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='nopay'}>" class=" button button_width nopay" >待付款</a>
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='payed'}>" class=" button button_width noship">待发货</a>
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='shiped'}>" class="active button button_width shiped">已发货</a>
                    <a href="<{link app=b2c ctl='wap_member' full='1' act='aftersales'}>" class=" button button_width aftersales">退换货/退款</a>
                </div>

                <div class="content-block nomargin nopadding">
                    <div class="tabs">
                        <{if $shiped|@count gt 0}>
                        <div  id="tab1" class="tab active">
                            <{foreach from=$shiped item="order" name=orders key="key"}>
                            <div class="content-block"><!-- start -->
                                <div class="order_box">
                                    <div class="orderA">
                                        <a href='<{link app=b2c ctl="wap_member" act="orderdetail" arg0=$order.order_id}>'><div class="orderA_number">订单号：<span><{$order.order_id}></span></div></a>
                                        <div class="orderA_cue">
                                            <{switch from=$order.status}>
                                            <{case value='finish'}><{t}>已完成<{/t}>
                                            <{case value='dead'}><{t}>已作废<{/t}>
                                            <{case}>
                                            <{switch from=$order.pay_status}>
                                            <{case value='1'}><{t}>已付款<{/t}>
                                            <{switch from=$order.ship_status}>
                                            <{case value='1'}><{t}>[已发货]<{/t}>
                                            <{case value='2'}><{t}>[部分发货]<{/t}>
                                            <{case value='3'}><{t}>[部分退货]<{/t}>
                                            <{case value='4'}><{t}>[已退货]<{/t}>
                                            <{case value='5'}><{t}>[取消发货]<{/t}>
                                            <{case}><{t}>[正在备货]<{/t}>
                                            <{/switch}>
                                            <{case value='2'}><{t}>已付款至担保方<{/t}>
                                            <{case value='3'}><{t}>等待补款<{/t}>
                                            <{switch from=$order.ship_status}>
                                            <{case value='1'}><{t}>[已发货]<{/t}>
                                            <{case value='2'}><{t}>[部分发货]<{/t}>
                                            <{case value='3'}><{t}>[部分退货]<{/t}>
                                            <{case value='4'}><{t}>[已退货]<{/t}>
                                            <{/switch}>
                                            <{case value='4'}><{t}>部分退款<{/t}>
                                            <{switch from=$order.ship_status}>
                                            <{case value='0'}><{t}>[未发货]<{/t}>
                                            <{case value='1'}><{t}>[已发货]<{/t}>
                                            <{case value='2'}><{t}>[部分发货]<{/t}>
                                            <{case value='3'}><{t}>[部分退货]<{/t}>
                                            <{case value='4'}><{t}>[已退货]<{/t}>
                                            <{/switch}>
                                            <{case value='5'}><{t}>已退款<{/t}>
                                            <{switch from=$order.ship_status}>
                                            <{case value='0'}><{t}>[未发货]<{/t}>
                                            <{case value='1'}><{t}>[已发货]<{/t}>
                                            <{case value='2'}><{t}>[部分发货]<{/t}>
                                            <{case value='3'}><{t}>[部分退货]<{/t}>
                                            <{case value='4'}><{t}>[已退货]<{/t}>
                                            <{/switch}>
                                            <{case}><{t}>等待付款<{/t}>
                                            <{switch from=$order.ship_status}>
                                            <{case value='1'}><{t}>[已发货]<{/t}>
                                            <{case value='2'}><{t}>[部分发货]<{/t}>
                                            <{case value='3'}><{t}>[部分退货]<{/t}>
                                            <{case value='4'}><{t}>[已退货]<{/t}>
                                            <{/switch}>
                                            <{/switch}>
                                            <{/switch}>
                                        </div>
                                        <div class="clearfix"></div>
                                    </div>
                                    <div class="orderB">
                                        <!--goods-->
                                        <{if $order.goods_items}>
                                        <{foreach from=$order.goods_items item=item_goods name=goods_item}>
                                        <{if $item_goods.product}>
                                        <div class="orderB_img"><img src="<{$item_goods.product.thumbnail_pic|default:$env.conf.site.default_thumbnail_pic|storager:'s'}>" /></div>
                                        <div class="orderB_content_one">
                                            <div class="orderB_content_name"><{$item_goods.product.name}></div>
                                            <div class="orderB_content_type">
                                                <{$item_goods.product.attr}>
                                            </div>
                                        </div>
                                        <{/if}>
                                        <{if $smarty.foreach.goods_item.last}>
                                        <div class="orderB_content_two">
                                            <div class="orderB_content_number">X<{$item_goods.product.quantity}></div>
                                            <div class="orderB_content_money">总金额：<span><{$order.cur_amount|cur_odr:$order.currency:false:true}></span></div>
                                        </div>
                                        <{/if}>
                                        <div class="clearfix"></div>
                                        <{/foreach}>
                                        <{/if}>
                                        <!--goods end-->
                                    </div>
                                    <div class="orderC">
                                        <a class="orderC_button_all" href='<{link app=b2c ctl="wap_member" act="orderdetail" arg0=$order.order_id}>'>
                                            查看物流
                                        </a>
                                        <a class="orderC_button_qrsh" href='<{link app=b2c ctl="wap_member" act="orderdetail" arg0=$order.order_id}>'>
                                            确认收货
                                        </a>

                                        <div class="clearfix"></div>
                                    </div>
                                </div>
                            </div>
                            <div style="height: 0.25rem;background: #f4f4f4;"></div>
                            <{/foreach}>
                            <{wap_pagers data=$pager}>
                        </div>
                        <{else}>
                        <div class="tab active">
                            <div class="content-block"><!-- start -->
                                <div class="NOorder_content">
                                    <{img class="NOorder_img" src="images/icon08.png" app="wap"}>
                                    <div class="NOorder_text">您还没有相关订单</div>
                                    <div class="NOorder_button"><a href="./">返回首页</a></div>
                                </div>
                            </div>
                        </div>
                        <{/if}>
                    </div>

                </div>
            </div>
        </div>
    </div>

</div>
<script>
    $(function(){
        $('.pageview').css('margin-top','0');
    });
</script>



